SET(THREAD_SRC ../src/threads.cpp)
SET(CNATS_SRC ../src/cnats.cpp)
SET(CLOG_SRC ../src/clog.cpp)
SET(SRC_LIST ${THREAD_SRC} ${CNATS_SRC} ${CLOG_SRC})

ADD_LIBRARY(mylib STATIC ${SRC_LIST})
TARGET_LINK_LIBRARIES(mylib pthread)

